<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Appointments: <%= controller.action_name %></title>
   <%= javascript_include_tag :defaults, "code_highlighter/code_highlighter", "code_highlighter/ruby" %>
   <%= active_scaffold_includes %>
   <%= stylesheet_link_tag 'scaffold', :media => 'all' %>
   <%= javascript_include_tag :defaults%>
</head>
<body>

<p style="color: green"><%= flash[:notice] %></p>
<div>

<h1>学生个人信息</h1>
  <div id="menu" style="float:left;width:20%">
    <p>
      你好,<%=session[:user].real_name%>,<%=session[:user].juese%>
    </p>

    <ul>
      <li><%=link_to "课程信息",kechengs_student_url(session[:user])%></li> 
      <li><a href="/kechengs">课程信息</a></li>
      <li><a href="/dagangs">教学大纲</a></li>
      <li><a href="/rilis">教学日历</a></li>
      <li><a href="/teacher_infors">教师信息</a></li>
      <li><a href="/s_zuoyes">课程作业</a></li>
      <li>个人信息</li>
      <li>在线资源</li>
      <li>退出系统</li>
    </ul>
  </div>
  <div style="width:70%">
    <%= yield  %>
  </div>
</div>
    
</body>
</html>
